package com.zdsoft.finance.product.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import com.zdsoft.framework.core.common.domain.BaseEntity;


/**
 * 业务提醒
 * @author longwei
 * @date 2016/11/08
 * @version 1.0
 */
@Entity
@Table(name="zf_product_business_warn")
public class ProductBusinessWarn extends BaseEntity{

	/**
	 * 放款后首次检查(天)
	 */
	@Column
	private Integer loanedCheck;
	
	/**
	 * 提醒提前天数
	 */
	@Column
	private Integer loanedCheckWarn;
	
	/**
	 * 定期检查周期
	 */
	@Column
	private Integer regularCheck;
	
	/**
	 * 定期检查周期单位
	 */
	@Column(length=32)
	private String regularCheckUnit;
	
	/**
	 * 提醒提前天数
	 */
	@Column
	private Integer regularCheckWarn;
	
	/**
	 * 合同到期前提醒(天)
	 */
	@Column
	private Integer contractExpireWarn;
	
	/**
	 * 质量分类周期
	 */
	@Column
	private Integer qualityClassify;
	
	/**
	 * 量分类周期单位
	 */
	@Column(length=32)
	private String qualityClassifyUnit;
	
	/**
	 * 提醒提前天数
	 */
	@Column
	private Integer qualityClassifyWarn;
	
	/**
	 * 放款后归档(天)
	 */
	@Column
	private Integer loanedArchive;
	
	/**
	 * 提醒提前天数
	 */
	@Column
	private Integer loanedArchiveWarn;
	
	/**
	 * 结清归档提醒(天)
	 */
	@Column
	private Integer settleArchive;
	
	/**
	 * 提醒提前天数
	 */
	@Column
	private Integer settleArchiveWarn;
	
	/**
	 * 所属产品
	 */
	@OneToOne
	@JoinColumn(name="product_id")
	private Product product;

	public Integer getLoanedCheck() {
		return loanedCheck;
	}

	public void setLoanedCheck(Integer loanedCheck) {
		this.loanedCheck = loanedCheck;
	}

	public Integer getLoanedCheckWarn() {
		return loanedCheckWarn;
	}

	public void setLoanedCheckWarn(Integer loanedCheckWarn) {
		this.loanedCheckWarn = loanedCheckWarn;
	}

	public Integer getRegularCheck() {
		return regularCheck;
	}

	public void setRegularCheck(Integer regularCheck) {
		this.regularCheck = regularCheck;
	}

	public String getRegularCheckUnit() {
		return regularCheckUnit;
	}

	public void setRegularCheckUnit(String regularCheckUnit) {
		this.regularCheckUnit = regularCheckUnit;
	}

	public Integer getRegularCheckWarn() {
		return regularCheckWarn;
	}

	public void setRegularCheckWarn(Integer regularCheckWarn) {
		this.regularCheckWarn = regularCheckWarn;
	}

	public Integer getContractExpireWarn() {
		return contractExpireWarn;
	}

	public void setContractExpireWarn(Integer contractExpireWarn) {
		this.contractExpireWarn = contractExpireWarn;
	}

	public Integer getQualityClassify() {
		return qualityClassify;
	}

	public void setQualityClassify(Integer qualityClassify) {
		this.qualityClassify = qualityClassify;
	}

	public String getQualityClassifyUnit() {
		return qualityClassifyUnit;
	}

	public void setQualityClassifyUnit(String qualityClassifyUnit) {
		this.qualityClassifyUnit = qualityClassifyUnit;
	}

	public Integer getQualityClassifyWarn() {
		return qualityClassifyWarn;
	}

	public void setQualityClassifyWarn(Integer qualityClassifyWarn) {
		this.qualityClassifyWarn = qualityClassifyWarn;
	}

	public Integer getLoanedArchive() {
		return loanedArchive;
	}

	public void setLoanedArchive(Integer loanedArchive) {
		this.loanedArchive = loanedArchive;
	}

	public Integer getLoanedArchiveWarn() {
		return loanedArchiveWarn;
	}

	public void setLoanedArchiveWarn(Integer loanedArchiveWarn) {
		this.loanedArchiveWarn = loanedArchiveWarn;
	}

	public Integer getSettleArchive() {
		return settleArchive;
	}

	public void setSettleArchive(Integer settleArchive) {
		this.settleArchive = settleArchive;
	}

	public Integer getSettleArchiveWarn() {
		return settleArchiveWarn;
	}

	public void setSettleArchiveWarn(Integer settleArchiveWarn) {
		this.settleArchiveWarn = settleArchiveWarn;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

}
